Backspace

Backspace is the keyboard key that originally pushed the typewriter carriage one position backwards, and in modern computer displays moves the cursor one position backwards, deletes the preceding character, and shifts back the text after it by one position.

Contents

Backspace key in typewriters

In some [note 1] typewriters, a typist would, for example, type a lowercase letter A with acute accent (á) by typing a lowercase letter A, backspace and then the acute accent key (also known as overstrike). This is the basis for such spacing modifiers in computer character sets such as the ASCII caret (^, for the circumflex accent). Backspace composition no longer works with digital displays or typesetting systems. It has to some degree been replaced with the combining diacritical marks mechanism of Unicode, though such characters do not work well with many fonts, and precomposed characters continue to be used. Some software like TeX or Microsoft Windows use the opposite method for diacritical marks, namely positioning the accent first, and then the base letter on its position.

Backspace key in computers

Although the term "backspace" is the standard name of the key which deletes the character to the left of the cursor, the actual key may be labelled in a variety of ways, for example delete,[1] Erase (for example in One Laptop Per Child),[2] or with a left pointing arrow.[3]

The backspace is distinct from the delete key, which in paper media for computers would punch out all the holes to strike out a character, and in modern computers deletes text following it. Also, the delete key often works as a generic command to remove an object (such as an image inside a document, or a file in a file manager), while backspace usually has no effect.

Common use

In modern systems, the backspace key is often mapped to the delete character (0x7f in ASCII or Unicode), although the backspace key's function of deleting the character before the cursor remains.[3]

The backspace key is commonly used to go back a page when exploring folders in graphical environments, or when browsing the Web in web browsers.

^H

Pressing the backspace key on a computer terminal would generate the ASCII code 08, BS or Backspace, a control code which would delete the preceding character. That control code could also be accessed by pressing Control-H, as H is the eighth letter of the Latin alphabet. Terminals which did not have the backspace code mapped to the function of moving the cursor backwards and deleting the preceding character would display the symbols ^H (caret, H — see Caret notation) when the backspace key was pressed. This sequence is still used humorously for epanorthosis by computer literates, denoting the deletion of a pretended blunder, much like a strikethrough.

Example:

My slave-dri^H^H^H^H^H^H^H^H^Hboss decided to stall the project.

Bigger steps: ^W and ^U

A more concise alternative sometimes seen is ^W, which is the shortcut to delete the previous word in the Berkeley Unix terminal line discipline. One ^W can replace a whole string of ^H's. This shortcut has also made it into the Vi text editor. For really embarrassing blunders, ^U (kill line) can outdo a series of ^W.

Other meanings

In a mainframe environment, to backspace means to move a magnetic tape backwards, typically to the previous block.

Notes

  1. ^ Many typewriters don't advance accent characters, so that no backspace is needed. However, it is still used e.g. for combining "o" with "/".

References